package com.open.account.interfaces.param;

import java.io.Serializable;

/**
 * @Author: blue7
 * @Date: 2022/4/27 21:04
 * @Version 1.0
 * @Description
 */
public class PageResponse<T> implements Serializable {

    private Long current;
    private Long size;
    private Long total;
    private T result;

    public PageResponse() {
    }


    public PageResponse(Long current, Long size, Long total, T result) {
        this.current = current;
        this.size = size;
        this.total = total;
        this.result = result;
    }

    public Long getCurrent() {
        return current;
    }

    public void setCurrent(Long current) {
        this.current = current;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }
}
